<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewClientTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewClientLabel_idinscrit}"/>
                    <h:outputText value="#{clientController.selected.idinscrit}" title="#{bundle.ViewClientTitle_idinscrit}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_nom}"/>
                    <h:outputText value="#{clientController.selected.nom}" title="#{bundle.ViewClientTitle_nom}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_prenom}"/>
                    <h:outputText value="#{clientController.selected.prenom}" title="#{bundle.ViewClientTitle_prenom}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_login}"/>
                    <h:outputText value="#{clientController.selected.login}" title="#{bundle.ViewClientTitle_login}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_password}"/>
                    <h:outputText value="#{clientController.selected.password}" title="#{bundle.ViewClientTitle_password}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_adresseinsc}"/>
                    <h:outputText value="#{clientController.selected.adresseinsc}" title="#{bundle.ViewClientTitle_adresseinsc}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_tel}"/>
                    <h:outputText value="#{clientController.selected.tel}" title="#{bundle.ViewClientTitle_tel}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_banque}"/>
                    <h:outputText value="#{clientController.selected.banque}" title="#{bundle.ViewClientTitle_banque}"/>
                    <h:outputText value="#{bundle.ViewClientLabel_prospect}"/>
                    <h:outputText value="#{clientController.selected.prospect}" title="#{bundle.ViewClientTitle_prospect}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{clientController.destroyAndView}" value="#{bundle.ViewClientDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewClientEditLink}"/>
                <br />
                <h:commandLink action="#{clientController.prepareCreate}" value="#{bundle.ViewClientCreateLink}" />
                <br />
                <h:commandLink action="#{clientController.prepareList}" value="#{bundle.ViewClientShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewClientIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
